package com.launch.carmanager.common;


/**
 * 常量
 * Created by ganquan on 2019/3/28 09:31
 */
public class Constants {

    public static final String APP_NAME = "CarManager";

    public static String TOKEN = "";
    public static String USER_ID = "";
    public static final String PARTNER = "3000001";
    public static final String PARTNER_KEY = "e7d187660a777da1be3d59682004142f";

    public static class PermissionCode {

        public static final int STORAGE = 1;

        public static final int CAMERA = 2;

        public static final int RECORD_AUDIO = 4;

        public static final int WRITE_CALENDAR = 8;

        public static final int READ_CONTACTS = 16;

        public static final int READ_CALENDAR = 32;

        public static final int CALL_PHONE = 64;

        public static final int LOCATION = 128;

    }

    /**
     * 后台定义错误码
     */
    public static class ErrorCode {
        public static final int SUCCESS = 0;
        //登录已过期
        public static final int LOGIN_OUT = 14;
        public static final int ERROR_9001 = 9001;
        public static final int REQUEST_ERROR = 1;
        public static final int REQUEST_13 = 13;
        public static final int REQUEST_16 = 16;
        public static final int REQUEST_113001 = 113001;

    }


}
